<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script type="text/javascript">
        document.write("66666")

        var a = 12;
        console.log(typeof a);

        console.log(typeof a.toString());

        var b = '55';
        console.log(typeof b.toLocaleUpperCase());

        console.log(typeof Number(a));
        console.log(parseInt(b) + 1);


        var d = 0xdd
        console.log(d);
        console.log("\u0054");
        console.log("\u2620");

        var a1 = 10;
        var b1 = 20;
        a1 > b1 ? alert('a1') : alert('b1');

        var obj = new Object();

        console.log(typeof obj);

        obj.name = 'zs';
        obj.age = 18;

        delete obj.name;
        obj["122"] = 666;
        console.log(obj);
        var obj2 = { name: 'zs', age: 88, id: 66666 }

        console.log(obj2);

        var fun = new Function();
        console.log(typeof fun);
        function sum(a, b) {

            console.log(a + b);
        }
        sum();

        (function (a) {
            alert("立即执行函数" + a);
        })(11);

        obj.sayName = function () {
            console.log(obj.name);
        }

        obj.sayName();

        var obj3 = {
            name: 'zs',
            age: 66,
            gender: '男'

        }
        console.log("*******");
        for (var n in obj3) {
            console.log(n);

            console.log(obj3[n]);
        }

        console.log(window);

        var a = 10;

        function tt() {


        }
        tt();

        {


        }
        alert(as1);
        var as1 = 10;
        var as2 = "ww";
        alert(as1);
    </script>
</head>

<body>
    <h1>&#9760;</h1>


</body>

</html>